package org.doubango.FrCall.Screens;


import org.doubango.FrCall.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;

public class ManageFriendSelectPage extends Activity {
	private Button manageFriend;
	private Button groupFriend;
	private Button btBack;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.manage_friend_select_page);
        manageFriend = (Button) findViewById(R.id.manage_button);
		groupFriend = (Button) findViewById(R.id.group_button);
		btBack=(Button) findViewById(R.id.reg_select_back_to_loginpage);
		btBack.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent(ManageFriendSelectPage.this,ScreenFriendList.class);
				startActivity(intent);
			}
		});
		manageFriend.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(ManageFriendSelectPage.this, ManageFriendPage.class);
				startActivity(intent);
			}
		});
		
		groupFriend.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(ManageFriendSelectPage.this,GroupFriendPage.class);
				startActivity(intent);
			}
		});
		
		
	}
	
	
}
